﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Alos.Common;

namespace Alos.Common
{
    [Serializable]
    public class NotLoginException : AlosException
    {
        public Enumerate.UserType ut = Enumerate.UserType.教师;
        public NotLoginException(Enumerate.UserType _ut = Enumerate.UserType.教师)
            : base("请登陆后再执行此操作！")
        {
            ut = _ut;
        }
        public NotLoginException(string errMsg, Enumerate.UserType _ut = Enumerate.UserType.教师)
            : base(errMsg)
        {
            ut = _ut;
        }
    }
}
